home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pwl521q.zip / SMALL.BAT < prev    next >
DOS Batch File  |  1992-11-15  |  3KB  |  59 lines

  1. @ECHO OFF
  2. CLS
  3. ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4. ECHO       CREATE LIBRARIES WITH PLAIN VANILLA WINDOW FUNCTIONS ONLY
  5. ECHO      (Does not have "Event Driver" or "Mouse Control" features)
  6. ECHO ──────────────────────────────────────────────────────────────────────
  7. ECHO This batch file will create a library (LITE.LIB) and QuickLibrary
  8. ECHO (LITE.QLB) that is compatible with Microsoft(R) QuickBASIC 4.5 ONLY.
  9. ECHO For a Microsoft(R) BASIC PDS 7.1 compatible version, please call us.
  10. ECHO ══════════════════════════════════════════════════════════════════════
  11. PAUSE
  12. IF EXIST LITE.LIB DEL LITE.LIB
  13. LIB LITE +WINDOW.LIB+MSTUB.OBJ;
  14. IF NOT EXIST LITE.LIB GOTO LIBFAILED
  15. IF EXIST LITE.QLB DEL LITE.QLB
  16. SET LINK=/SE:192
  17. LINK /Q /NOE +LITE.LIB,,,BQLB45;
  18. IF NOT EXIST LITE.QLB GOTO LINKFAILED
  19. :SUCCESS
  20. CLS
  21. ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  22. ECHO                            CONGRATULATIONS!
  23. ECHO ──────────────────────────────────────────────────────────────────────
  24. ECHO You now have a library (LITE.LIB) and QuickLibrary (LITE.QLB) that is
  25. ECHO compatible with Microsoft(R) QuickBASIC 4.5.
  26. ECHO  
  27. ECHO To make use of this library, you must load BASIC EXACTLY as follows:
  28. ECHO  
  29. ECHO         QB /AH /L LITE.QLB
  30. ECHO  
  31. ECHO ══════════════════════════════════════════════════════════════════════
  32. GOTO BYE
  33.  
  34. :LIBFAILED
  35. ECHO  
  36. ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  37. ECHO             ERROR: LIB.EXE FAILED WHILE CREATING "LITE.LIB"
  38. ECHO ──────────────────────────────────────────────────────────────────────
  39. ECHO For some reason, the library manager (LIB.EXE) could not build the
  40. ECHO library.  It is possible that it could not find the files it needed to
  41. ECHO build the library.  Please make sure that the following files are in
  42. ECHO the same directory as this batch file: MSTUB.OBJ and WINDOW.LIB.
  43. ECHO ══════════════════════════════════════════════════════════════════════
  44. GOTO BYE
  45.  
  46. :LINKFAILED
  47. ECHO  
  48. ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  49. ECHO            ERROR: LINK.EXE FAILED WHILE CREATING "LITE.QLB"
  50. ECHO ──────────────────────────────────────────────────────────────────────
  51. ECHO For some reason, the linker (LINK.EXE) could not build the Quick
  52. ECHO Library.  If the error deals with the "/Q" option, then you are using
  53. ECHO the WRONG version of link.  Both DOS and BASIC come with their own
  54. ECHO version of LINK.EXE.  YOU MUST USE THE VERSION THAT CAME WITH BASIC.
  55. ECHO ══════════════════════════════════════════════════════════════════════
  56. GOTO BYE
  57.  
  58. :BYE
  59.